<?php
/**
 * @author Gustavo Novaro <gnovaro@gmail.com>
 * @version 1.0
 */
                      
define('SMARTY_DIR', "D:".DIRECTORY_SEPARATOR."www".DIRECTORY_SEPARATOR."TrexCMS".DIRECTORY_SEPARATOR."smarty".DIRECTORY_SEPARATOR);
require("tconfig.php");
require(SMARTY_DIR."Smarty.class.php");

$oSmarty = new Smarty();
$oSmarty->template_dir = SMARTY_DIR."templates".DIRECTORY_SEPARATOR.TREX_TEMPLATE;
$oSmarty->compile_dir = SMARTY_DIR."templates_c";
$oSmarty->cache_dir = SMARTY_DIR."cache";
$oSmarty->config_dir = SMARTY_DIR."configs";

$oSmarty->assign("TITLE",':: T-Rex CMS - Home ::');
$oSmarty->assign("NAME",'Tavo');
$oSmarty->display('index.tpl');
?>